package com.zhoulei.employee;

/**
 * 继承于Peoson
 */
public class Student extends Person {

    private String major;

    public Student(String name, String major){
        super(name);
        this.major = major;
    }

    public String getDes(){
        return String.format("a student named %s,major in %s",super.getName(),this.major );
    }
}
